<?php 
class interviewAction extends AdminMaster{
	public function execute($request){
		$action = $request->getParameter('action_name', '');
		$id = intval($request->getParameter('id', 0));
		
		$candidate = CandidatesTable::getDataById($id);
		
		if($action == ADMIN_DEFINED::AJAX_LOAD_INTERVIEW && count($candidate) > 0){
			$this->setVar('data', $candidate);
		}else{
			echo __('hacking_attemp',null,'table_list');die;
		}
		
	}
}